package com.atguigu.gmall.cart;

import com.atguigu.gmall.common.config.exception.annotion.EnableGlobalAutoHandleException;
import com.atguigu.gmall.common.config.pool.annotation.EnableThreadPool;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName CartApplication
 * @Description TODO
 * @Author king
 * @Date 2022/11/16 11:32
 * @Version 1.0
 */
@EnableThreadPool
@EnableGlobalAutoHandleException
@SpringCloudApplication
@EnableFeignClients(basePackages = "com.atguigu.gmall.feignclients.product")
public class CartApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartApplication.class, args);
    }
}
